package cn.bby.query.server.domain.agg.sys.repository;

import cn.bby.query.server.domain.share.constant.HealthInfoMetric;

import java.util.List;

/**
 * @author wangbenyin
 * @version 1.0
 * @date 2025/07/01
 * @since 17
 */
public interface HealthInfoRepository {
    void initAndCreateBatch(List<HealthInfoMetric> metrics);

    void update(HealthInfoMetric metric, Long value);

    boolean isHealth(List<String> metrics);

    void writeLog(Long interfaceId, String msg);
}
